package com.kuang.pojo;

import java.io.Serializable;

public class Sale implements Serializable {
    private String id;
    private String name;
    private String price;
    private String number;
    private String date;
    private String tellpone;
    private String sump;
    private String detail;

    public Sale(String name, String number, String date, String detail) {
        this.name = name;
        this.number = number;
        this.date = date;
        this.detail = detail;
    }


    public Sale() {
    }

    public Sale(String name, String number) {
        this.name = name;
        this.number = number;
    }

    @Override
    public String toString() {
        return "Sale{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", price='" + price + '\'' +
                ", number=" + number +
                ", date='" + date + '\'' +
                ", tellpone='" + tellpone + '\'' +
                ", sump='" + sump + '\'' +
                ", detail='" + detail + '\'' +
                '}';
    }

    public Sale(String id, String name, String price, String number, String date, String tellpone, String sump, String detail) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.number = number;
        this.date = date;
        this.tellpone = tellpone;
        this.sump = sump;
        this.detail = detail;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTellpone() {
        return tellpone;
    }

    public void setTellpone(String tellpone) {
        this.tellpone = tellpone;
    }

    public String getSump() {
        return sump;
    }

    public void setSump(String sump) {
        this.sump = sump;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }
}
